.PHONY: clean
CFLAGS  := -Wall -Werror -g
LD      := gcc
LDLIBS  := ${LDLIBS} -libverbs -lpthread
APPS    := client server
all: ${APPS}
client: common.o client.o
	${LD} -o $@ $^ ${LDLIBS}
server: common.o server.o
	${LD} -o $@ $^ ${LDLIBS}
clean:
	rm -f *.o ${APPS}